import cv2

# 读取图片
img = cv2.imread('F:\\Pictures\\opencv\\text.png')

# 显示图片
cv2.imshow('img',img)
cv2.waitKey(0)

